package cn.trigram.json;

import com.jayway.jsonpath.Configuration;
import com.jayway.jsonpath.spi.json.JacksonJsonNodeJsonProvider;
import com.jayway.jsonpath.spi.mapper.JacksonMappingProvider;

/**
 * 使用json-path库实现JsonPath的功能
 * todo 后面补
 *
 * @version 1.0.0
 * @date 2022/08/03 10:01:53
 * @since 1.0.0
 */
public class JsonPathParser {
    private static final Configuration CONFIGURATION = Configuration.defaultConfiguration()
            .jsonProvider(new JacksonJsonNodeJsonProvider(JacksonUtil.getObjectMapper()))
            .mappingProvider(new JacksonMappingProvider(JacksonUtil.getObjectMapper()));

}
